const Koa = require('koa');
const { koaBody } = require('koa-body');
const router = require('./src/router')
const app = new Koa();

app
  .use(koaBody())
  .use(router.routes())
  .listen(7009, () => {
    console.log('http://localhost:7009');
  });